<head>
    <title>Other content</title>
    <style>
        body {
            background: lightgreen;
        }
    </style>
</head>
<h1># Swapped content</h1>
<ul>
    <li><code>&lt;title&gt;</code> and &lt;style&gt;
        <b>should not</b> spawn inside <code>&lt;main&gt;</code></li>
    <li><code>&lt;title&gt;</code> <b>should be</b> <em>other content</em></li>
    <li>Background <b>should be</b> green</li>
</ul>

